# #####################################################################
#  DO NOT REGENEGATE IT AUTOMATICALLY! 
# #####################################################################
TEMPLATE = lib

DEPENDPATH += . classes classes/bots \
    main
INCLUDEPATH += . \
           ./main \
           ./classes \
           ./classes/bots \
           ./../../ \
           ./../../OTPD/ \

#c 2010.07.22 все инклуды делаются так: #include <OTPD/путь>
#во всех дочерних проектах делать также.
#во всех дочерних проектах должен быть в инклудах указан путь до корня где лежит OTPD.


#           ./../OTPD/classes/ \
#           ./../OTPD/classes/general_headers/ \
#           ./../OTPD/classes/printer_modules/ \


# Input
HEADERS += classes/bots/qdlib_otpdnode.h \
           ./main/qdlib.h \
           ./../../OTPD/classes/otpd_classes.h \
           ./../../OTPD/classes/general_headers/some_c-functions.h \
           ./../../OTPD/classes/dispatcher/t_dispatcher.h \
           ./../../OTPD/classes/dispatcher/t_dispatcher_structs.h \
           ./../../OTPD/classes/general_headers/phtml_structs.h \
           ./../../OTPD/classes/general_headers/phtml_tag_type_discriptions.h \
           ./../../OTPD/classes/general_headers/t_printjob.h \
           ./../../OTPD/classes/general_headers/t_otpd_object_v.h \
           ./../../OTPD/classes/phtml_parser/t_phtml_parser.h \
           ./../../OTPD/classes/phtml_parser/t_phtml_source.h \
           ./../../OTPD/classes/phtml_parser/t_phtml_tagextractor.h \
           ./../../OTPD/classes/phtml_parser/t_phtml_taganalyser.h \
           ./../../OTPD/classes/phtml_parser/t_phtml_dombuilder.h \
           ./../../OTPD/classes/spooler_core/t_drawcontext.h \
           ./../../OTPD/classes/spooler_core/t_printnode.h \
           ./../../OTPD/classes/printer_modules/t_abstract_posprinter_device.h \
           ./../../OTPD/classes/spooler_core/t_printer_adapter.h \
\
           ./../../OTPD/classes/hardware_comm/t_abstractlink_otpd.h \
           ./../../OTPD/classes/spooler_core/t_printdirection_thread.h \
           ./../../OTPD/classes/hardware_comm/t_seriallink_otpd.h \
           ./../../OTPD/classes/hardware_comm/t_tcpiplink_otpd.h \
           ./../../OTPD/classes/hardware_comm/t_nulllink_otpd.h \
           ./../../OTPD/classes/hardware_comm/t_usbprintlink_otpd.h\
\
           ./../../OTPD/classes/printer_modules/t_posprinter_virtual.h \
           ./../../OTPD/classes/printer_modules/t_posprinter_posiflex_pp5200.h \
           ./../../OTPD/classes/printer_modules/t_posprinter_shtrih_shtrih500.h \
           ./../../OTPD/classes/printer_modules/t_posprinter_citizen_cbm1000.h \
           ./../../OTPD/classes/printer_modules/t_labelprinter_zebra_gk420d.h \
\
           ./../../OTPD/classes/phtml_parser/t_scriptsinger.h \
           ./../../OTPD/classes/dispatcher/t_dispatcher_thread.h \
           ./../../OTPD/classes/gui_objects/t_textedit_menu.h \
           ./../../OTPD/classes/gui_objects/t_pictureviewer.h \
           ./../../OTPD/classes/gui_objects/t_pictureviewer_container.h \
           ./../../OTPD/classes/general_headers/phtml_demos.h \
           ./../../OTPD/classes/qDebugRedirect.h \
           ./../../OTPD/classes/serviceClasses/t_returnSyncObject.h

#	../../OTPD/classes/general_headers/phtml_structs.h \
#	../../OTPD/classes/general_headers/t_otpd_object_v.h \
#	../../OTPD/classes/hardware_comm/t_abstractlink_otpd.h \
#	../../OTPD/classes/hardware_comm/t_seriallink_otpd.h \


SOURCES += classes/bots/qdlib_otpdnode.cpp \
           ./main/qdlib.cpp \
           ./../../OTPD/classes/dispatcher/t_dispatcher.cpp \
           ./../../OTPD/classes/general_headers/t_otpd_object_v.cpp \
           ./../../OTPD/classes/phtml_parser/t_phtml_parser.cpp \
           ./../../OTPD/classes/phtml_parser/t_phtml_source.cpp \
           ./../../OTPD/classes/phtml_parser/t_phtml_tagextractor.cpp \
           ./../../OTPD/classes/phtml_parser/t_phtml_taganalyser.cpp \
           ./../../OTPD/classes/phtml_parser/t_phtml_dombuilder.cpp \
           ./../../OTPD/classes/spooler_core/t_drawcontext.cpp \
           ./../../OTPD/classes/spooler_core/t_printnode.cpp \
           ./../../OTPD/classes/spooler_core/t_printer_adapter.cpp \
\
          ./../../OTPD/classes/hardware_comm/t_abstractlink_otpd.cpp \
           ./../../OTPD/classes/spooler_core/t_printdirection_thread.cpp \
           ./../../OTPD/classes/hardware_comm/t_seriallink_otpd.cpp \
           ./../../OTPD/classes/hardware_comm/t_tcpiplink_otpd.cpp \
           ./../../OTPD/classes/hardware_comm/t_nulllink_otpd.cpp \
           ./../../OTPD/classes/hardware_comm/t_usbprintlink_otpd.cpp\
\
           ./../../OTPD/classes/printer_modules/t_abstract_posprinter_device.cpp \
           ./../../OTPD/classes/printer_modules/t_posprinter_virtual.cpp \
           ./../../OTPD/classes/printer_modules/t_posprinter_posiflex_pp5200.cpp \
           ./../../OTPD/classes/printer_modules/t_posprinter_shtrih_shtrih500.cpp \
           ./../../OTPD/classes/printer_modules/t_posprinter_citizen_cbm1000.cpp \
           ./../../OTPD/classes/printer_modules/t_labelprinter_zebra_gk420d.cpp \
\
           ./../../OTPD/classes/phtml_parser/t_scriptsinger.cpp \
           ./../../OTPD/classes/dispatcher/t_dispatcher_thread.cpp \
           ./../../OTPD/classes/gui_objects/t_textedit_menu.cpp \
           ./../../OTPD/classes/gui_objects/t_pictureviewer.cpp  \
           ./../../OTPD/classes/gui_objects/t_pictureviewer_container.cpp\
           ./../../OTPD/classes/serviceClasses/t_returnSyncObject.cpp

#	../../OTPD/classes/general_headers/t_otpd_object_v.cpp \
#	../../OTPD/classes/hardware_comm/t_abstractlink_otpd.cpp \
#	../../OTPD/classes/hardware_comm/t_seriallink_otpd.cpp

CONFIG += console \
     debug \

#     release
#    debug
#    warn_on \

win32 {
    MOC_DIR += build/win
    OBJECTS_DIR += build/win
    DESTDIR += ./../bin/win

    #НУЖНО ДЛЯ РАБОТЫ DDK-ФУНКЦИЙ которые мы используем для работы с USB в t_usbprintlink_otpd
    LIBS += -lsetupapi

  }
else {
    MOC_DIR += build/lin
    OBJECTS_DIR += build/lin
    DESTDIR += ./../bin/lin
  }

TARGET = "qdlib_otpdnode"
QT += xml
QT += network
QT += script
QT += gui
